style.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. .rank-widget {
  2. width: 100%;
  3. padding: 16px;
  4. font-family: 'Pretendard', sans-serif;
  5. }
  6. .rank-title {
  7. text-align: center;
  8. font-weight: 700;
  9. font-size: 18px;
  10. margin-bottom: 12px;
  11. color: #FFFFFF;
  12. text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  13. }
  14. .rank-empty {
  15. text-align: center;
  16. color: #666;
  17. padding: 20px;
  18. }
  19. .rank-list {
  20. display: flex;
  21. flex-direction: column;
  22. gap: 6px;
  23. }
  24. .rank-item {
  25. display: flex;
  26. align-items: center;
  27. gap: 10px;
  28. padding: 8px 12px;
  29. border-radius: 8px;
  30. background: rgba(255, 255, 255, 0.08);
  31. transition: all 0.5s ease;
  32. &.rank-1 { background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05)); }
  33. &.rank-2 { background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05)); }
  34. &.rank-3 { background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05)); }
  35. }
  36. .rank-badge {
  37. width: 28px;
  38. height: 28px;
  39. border-radius: 50%;
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. font-weight: 800;
  44. font-size: 14px;
  45. flex-shrink: 0;
  46. &.badge-1 { background: #FFD700; color: #000; }
  47. &.badge-2 { background: #C0C0C0; color: #000; }
  48. &.badge-3 { background: #CD7F32; color: #FFF; }
  49. &.badge-default { background: #555; color: #FFF; }
  50. }
  51. .rank-name {
  52. flex: 1;
  53. font-weight: 600;
  54. color: #FFFFFF;
  55. font-size: 15px;
  56. overflow: hidden;
  57. text-overflow: ellipsis;
  58. white-space: nowrap;
  59. }
  60. .rank-amount {
  61. font-weight: 700;
  62. color: #FF6B35;
  63. font-size: 15px;
  64. white-space: nowrap;
  65. }